#include"bit.h"
#include<vector>
#include<list>
int main()
{
	/*int arry[] = { 1,2,3,4 };
	bit::vector<int> x(arry,arry+4);
	bit::vector<int> y(4,8);*/
	/*x.push_back(1);
	x.push_back(2);
	for (int i = 0; i < x.size(); i++)
	{
		cout << x[i] << endl;
	}
	x.insert(x.begin(), 5);*/

	/*for (int i = 0; i < 10; i++)
	{
		x.push_back(i);
		x.insert((x.begin() + i), 66);
	}
	for (auto item : x)
	{
		cout << item << endl;
	}*/
	/*x = y;
	for (auto item : x)
	{
		cout << item << endl;
	}*/
	string arry[] = { "123456","5555","444","6666"};
	//bit::vector<string> x(arry,arry+sizeof(arry)/sizeof(arry[0]));
	bit::vector<int> x(10, 5);
	////cout << *(x.erase(x.begin()));
	//x.insert(x.begin()+2, 78);
	//for (auto item : x)
	//{
	//	cout << item << " ";
	//}
	//cout << endl;
	x.resize(10,5);
	*x.begin() = 1;
	for (auto& item : x)
	{
		cout << item<<" ";
	}


	
}